@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');

:root {
  --neon-blue: #00f3ff;
  --neon-pink: #ff00ff;
  --neon-purple: #9d00ff;
  --dark-bg: #0a0a0f;
  --cyber-black: #1a1a1a;
  --cyber-gray: #2a2a2a;
  
  font-family: 'Orbitron', system-ui, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  
  color-scheme: dark;
  color: var(--neon-blue);
  background-color: var(--dark-bg);
  
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--cyber-black) 100%);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, var(--dark-bg) 21px, transparent 1%) center,
    linear-gradient(var(--dark-bg) 21px, transparent 1%) center,
    var(--neon-blue);
  background-size: 22px 22px;
  opacity: 0.1;
  pointer-events: none;
}

a {
  font-weight: 500;
  color: var(--neon-pink);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 8px var(--neon-blue);
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--neon-blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

a:hover::after {
  transform: scaleX(1);
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--neon-blue);
  margin-bottom: 1em;
}

button {
  border-radius: 4px;
  border: 2px solid var(--neon-blue);
  padding: 0.8em 1.6em;
  font-size: 1em;
  font-weight: 500;
  font-family: 'Orbitron', sans-serif;
  background-color: transparent;
  color: var(--neon-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  background-color: var(--neon-blue);
  color: var(--dark-bg);
  box-shadow: 0 0 20px var(--neon-blue);
}

button:focus,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--dark-bg), 0 0 0 4px var(--neon-blue);
}

.card {
  padding: 2em;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--neon-blue);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

#app {
  /* max-width: 1280px; */
  margin: 0 auto;
  width: 100%;
  /* padding: 2rem; */
  text-align: center;
  position: relative;
}

/* 添加霓虹文字效果 */
.neon-text {
  color: var(--neon-blue);
  text-shadow: 
    0 0 5px var(--neon-blue),
    0 0 10px var(--neon-blue),
    0 0 20px var(--neon-blue);
}

/* 添加科技感网格背景 */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(transparent 0%, rgba(0, 243, 255, 0.05) 2%, transparent 3%),
    linear-gradient(90deg, transparent 0%, rgba(0, 243, 255, 0.05) 2%, transparent 3%);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* 添加动画效果 */
@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--neon-blue);
  }
  50% {
    box-shadow: 0 0 20px var(--neon-blue);
  }
  100% {
    box-shadow: 0 0 5px var(--neon-blue);
  }
}

.glow-effect {
  animation: glow 2s infinite;
}
